package com.anti.modular.owner.ownerleaseroom.param;

import com.anti.commom.pojo.BaseParam;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotBlank;

/**
* 業主房間關係表参数类
 *
 * @author anti
 * @date 2021-05-20 14:28:47
*/
@Data
public class OwnerLeaseRoomParam extends BaseParam {

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空，请检查id参数", groups = {edit.class, delete.class, detail.class})
    private Long id;

    /**
     * 業主租约主键
     */
    @NotNull(message = "業主租约主键不能为空，请检查ownerLeaseId参数", groups = {add.class, edit.class})
    private Long ownerLeaseId;

    /**
     * 房间主键
     */
    @NotNull(message = "房间主键不能为空，请检查roomId参数", groups = {add.class, edit.class})
    private Long roomId;

    private Long roomName;
}
